dhcpv4: move dest handling from dhcpv4_handle_msg()
authorDavid Härdeman <[email protected]>
Mon, 6 Oct 2025 08:44:42 +0000 (10:44 +0200)
committerÁlvaro Fernández Rojas <[email protected]>
Tue, 21 Oct 2025 17:04:47 +0000 (19:04 +0200)
commit6fd691ff29cd33fc0bd0242b5bda4060fe688057
tree4bcb81c5658f8a739a2afc497f3f9b2301970c04
parent1f803caf9a1f9afd566b34fc29f1757f7291f772
dhcpv4: move dest handling from dhcpv4_handle_msg()

dhcpv4_handle_msg() is already over 300 lines of code, break out the
destination handling into a separate function to make the former function a bit
more manageable in size.

Signed-off-by: David Härdeman <[email protected]>
Link: https://github.com/openwrt/odhcpd/pull/278
Signed-off-by: Álvaro Fernández Rojas <[email protected]>
src/dhcpv4.c